<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>WindowEvent</title>
    <div id="container">OpenNewWindow</div>
</head>

<body>
<script>
    function OpenNewWindow()
    {
      window.open('https://www.baidu.com', '_blank', 'resizable,scrollbars,status');
    }
</script>
</body>
</html>